<script>
	export default {
		globalData: {
			code: "",
		},
		onLaunch(local) {
			// #ifdef APP-PLUS
				// plus.screen.lockOrientation('landscape-primary'); //锁定横屏
				// plus.navigator.setFullscreen(true); // 全屏显示
				// plus.navigator.hideSystemNavigation() //隐藏虚拟按键
			//#endif
		},
		
		onShow: function() {

		},
		onHide: function() {

		},
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uni.scss";

	uni-app {
		font-size: $uni-font-size-sm;
		color: $uni-text-color;
		/* @font-face {
		  font-family: 'webfont-Bold';
		  src: url('~@/static/fonts/webfont.ttf') format('truetype');
			font-family: 'webfont-Medium';
			src: url('~@/static/fonts/webfont-Medium.ttf') format('woff');
		} */
		font-family: webfont-Medium, webfont-Bold;
	}

	uni-page,
	uni-page-wrapper {
		position: absolute;
		width: 100%;
		height: 100%;
		background: $uni-bg-color;
	}

	uni-input {
		font-size: $uni-font-size-sm;
	}

	page {
		background: $uni-bg-color;
		font-size: $uni-font-size-sm;
	}

	uni-rich-text img {
		max-width: 750rpx !important;

	}
	/* iconfont */
	

	
	.b-f {
	  background: #fff;
	}
	
	.tf-180 {
	  -moz-transform: rotate(-180deg);
	  -ms-transform: rotate(-180deg);
	  -o-transform: rotate(-180deg);
	  transform: rotate(-180deg);
	}
	
	.tf-90 {
	  -moz-transform: rotate(90deg);
	  -ms-transform: rotate(90deg);
	  -o-transform: rotate(90deg);
	  transform: rotate(90deg);
	}
	
	.dis-block {
	  display: block;
	}
	
	.dis-flex {
	  display: flex !important;
	  /* flex-wrap: wrap; */
	  /* align-items: center; */
	}
	
	.flex-box {
	  flex: 1;
	}
	
	.flex-dir-row {
	  flex-direction: row;
	}
	
	.flex-dir-column {
	  flex-direction: column;
	}
	
	.flex-x-center {
	  /* display: flex; */
	  justify-content: center;
	}
	
	.flex-x-between {
	  justify-content: space-between;
	}
	
	.flex-x-around {
	  justify-content: space-around;
	}
	
	.flex-x-end {
	  justify-content: flex-end;
	}
	
	.flex-y-center {
	  align-items: center;
	}
	
	.flex-y-end {
	  align-items: flex-end;
	}
	
	.flex-five {
	  box-sizing: border-box;
	  flex: 0 0 50%;
	}
	
	.flex-three {
	  float: left;
	  width: 33.3%;
	}
	
	.flex-four {
	  box-sizing: border-box;
	  flex: 0 0 25%;
	}
	
	.t-l {
	  text-align: left;
	}
	
	.t-c {
	  text-align: center;
	}
	
	.t-r {
	  text-align: right;
	}
	
	.p-a {
	  position: absolute;
	}
	
	.p-r {
	  position: relative;
	}
	
	.fl {
	  float: left;
	}
	
	.fr {
	  float: right;
	}
	
	.clear::after {
	  clear: both;
	  content: " ";
	  display: table;
	}
	
	.oh {
	  overflow: hidden;
	}
	
	.tb-lr-center {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex !important;
	  -webkit-box-pack: center;
	  -ms-flex-pack: center;
	  justify-content: center;
	  -webkit-box-align: center;
	  -ms-flex-align: center;
	  align-items: center;
	}
	.f-40 {
	  font-size: 40rpx;
	}
	.f-38 {
	  font-size: 38rpx;
	}
	.f-36 {
	  font-size: 36rpx;
	}
	
	.f-34 {
	  font-size: 34rpx;
	}
	
	.f-32 {
	  font-size: 32rpx;
	}
	
	.f-31 {
	  font-size: 31rpx;
	}
	
	.f-30 {
	  font-size: 30rpx;
	}
	
	.f-29 {
	  font-size: 29rpx;
	}
	
	.f-28 {
	  font-size: 28rpx;
	}
	
	.f-26 {
	  font-size: 26rpx;
	}
	
	.f-25 {
	  font-size: 25rpx;
	}
	
	.f-24 {
	  font-size: 24rpx;
	}
	
	.f-22 {
	  font-size: 22rpx;
	}
	
	.f-w {
	  font-weight: 700;
	}
	
	.f-n {
	  font-weight: 400;
	}
	
	.col-f {
	  color: #fff;
	}
	
	.col-3 {
	  color: #333;
	}
	
	.col-6 {
	  color: #666;
	}
	
	.col-7 {
	  color: #777;
	}
	
	.col-8 {
	  color: #888;
	}
	
	.col-9 {
	  color: #999;
	}
	
	.col-m {
	  color: #ff495e !important;
	}
	
	.col-s {
	  color: #be0117 !important;
	}
	
	.col-green {
	  color: #0ed339 !important;
	}
	
	.cont-box {
	  padding: 20rpx;
	}
	
	.cont-bot {
	  margin-bottom: 120rpx;
	}
	
	.padding-box {
	  padding: 0 24rpx;
	  box-sizing: border-box;
	}
	
	.pl-12 {
	  padding-left: 12px;
	}
	
	.pr-12 {
	  padding-right: 12px;
	}
	
	.pr-6 {
	  padding-right: 6px;
	}
	
	.m-top4 {
	  margin-top: 4rpx;
	}
	
	.m-top10 {
	  margin-top: 10rpx;
	}
	
	.m-top20 {
	  margin-top: 25rpx;
	}
	
	.m-top30 {
	  margin-top: 30rpx;
	}
	
	.m-l-10 {
	  margin-left: 10rpx;
	}
	
	.m-l-20 {
	  margin-left: 20rpx;
	}
	
	.p-bottom {
	  padding-bottom: calc(112rpx + constant(safe-area-inset-bottom));
	  padding-bottom: calc(112rpx + env(safe-area-inset-bottom));
	}
	
	.onelist-hidden {
	  overflow: hidden;
	  text-overflow: ellipsis;
	  white-space: nowrap;
	}
	
	.twolist-hidden {
	  display: -webkit-box;
	  word-break: break-all;
	  text-overflow: ellipsis;
	  overflow: hidden;
	  -webkit-box-orient: vertical;
	  -webkit-line-clamp: 2;
	}
	.generalTrade {
	  display: inline-block;
	  width: 120rpx;
	  height: 35rpx;
	  background: #e93e5d;
	  border-radius: 16rpx;
	  font-size: 22rpx;
	  font-family: PingFang SC;
	  font-weight: 500;
	  color: #fff;
	  line-height: 35rpx;
	  text-align: center;
	  margin-right: 10rpx;
	}
	.direct {
	  display: inline-block;
	  width: 120rpx;
	  height: 35rpx;
	  background: #fda95e;
	  border-radius: 16rpx;
	  font-size: 22rpx;
	  font-family: PingFang SC;
	  font-weight: 500;
	  color: #fff;
	  line-height: 35rpx;
	  text-align: center;
	  margin-right: 10rpx;
	}
	.bonded {
	  display: inline-block;
	  width: 120rpx;
	  height: 35rpx;
	  background: #7FBE74;
	  border-radius: 16rpx;
	  font-size: 22rpx;
	  font-family: PingFang SC;
	  font-weight: 500;
	  color: #fff;
	  line-height: 35rpx;
	  text-align: center;
	  margin-right: 10rpx;
	}
	.autotrophy {
	  display: inline-block;
	  width: 120rpx;
	  height: 35rpx;
	  background: #e9593d;
	  border-radius: 16rpx;
	  font-size: 22rpx;
	  font-family: PingFang SC;
	  font-weight: 500;
	  color: #fff;
	  line-height: 35rpx;
	  text-align: center;
	  margin-right: 10rpx;
	}
	
	.b-r {
	  border-right: 1rpx solid #eee;
	}
	
	.b-b {
	  border-bottom: 1rpx solid #eee;
	}
	
	.b-t {
	  border-top: 1rpx solid #eee;
	}
	
	.ts-1 {
	  -moz-transition: all 0.1s;
	  -o-transition: all 0.1s;
	  transition: all 0.1s;
	}
	
	.ts-2 {
	  -moz-transition: all 0.2s;
	  -o-transition: all 0.2s;
	  transition: all 0.2s;
	}
	
	.ts-3 {
	  -moz-transition: all 0.3s;
	  -o-transition: all 0.3s;
	  transition: all 0.3s;
	}
	
	.ts-5 {
	  -moz-transition: all 0.5s;
	  -o-transition: all 0.5s;
	  transition: all 0.5s;
	}
	
	/* 无样式button (用于伪submit) */
	
	.btn-normal {
	  display: block;
	  margin: 0;
	  padding: 0;
	  line-height: normal;
	  background: none;
	  border-radius: 0;
	  box-shadow: none;
	  border: none;
	  font-size: unset;
	  text-align: unset;
	  overflow: visible;
	  color: inherit;
	  /* text-align: center; */
	}
	
	.btn-normal:after {
	  border: none;
	}
	
	.btn-normal.button-hover {
	  color: inherit;
	}
	
	button:after {
	  content: none;
	  border: none;
	}

</style>

